/**
 * 
 */
package json_objects_send;

import java.util.List;

/**
 * @author Alejandro Casas
 * @author Rodrigo Cifuentes
 */

public class JSON_player 
{
	private String name;
	private List<String>sports;
	private String gender;
	private String start_date;
	private String end_date;
	private String mail;
	private List<JSON_sport_calification>sports_level;
	private int friends_in_common_int;
	private List<CommonUser> friends_in_common;
	private double active_lat;
	private double active_lng;
	
	public JSON_player(String name, List<String>sports, String gender, String start_date,
			String end_date, String mail, List<JSON_sport_calification>sports_level,List<CommonUser> fic
			,double active_lat,double active_lng)
	{
		this.active_lat=active_lat;
		this.active_lng=active_lng;
		this.name=name;
		this.sports=sports;
		this.gender=gender;
		this.start_date=start_date;
		this.end_date=end_date;
		this.mail=mail;
		this.sports_level=sports_level;
		this.friends_in_common_int=fic.size();
		friends_in_common=fic;
	}

	
	/**
	 * @return the active_lat
	 */
	public double getActive_lat() {
		return active_lat;
	}


	/**
	 * @param active_lat the active_lat to set
	 */
	public void setActive_lat(double active_lat) {
		this.active_lat = active_lat;
	}


	/**
	 * @return the active_lng
	 */
	public double getActive_lng() {
		return active_lng;
	}


	/**
	 * @param active_lng the active_lng to set
	 */
	public void setActive_lng(double active_lng) {
		this.active_lng = active_lng;
	}


	/**
	 * @return the friends_in_common_int
	 */
	public int getFriends_in_common_int() {
		return friends_in_common_int;
	}

	/**
	 * @param friends_in_common_int the friends_in_common_int to set
	 */
	public void setFriends_in_common_int(int friends_in_common_int) {
		this.friends_in_common_int = friends_in_common_int;
	}

	/**
	 * @return the friends_in_common
	 */
	public List<CommonUser> getFriends_in_common() {
		return friends_in_common;
	}

	/**
	 * @param friends_in_common the friends_in_common to set
	 */
	public void setFriends_in_common(List<CommonUser> friends_in_common) {
		this.friends_in_common = friends_in_common;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getSports() {
		return sports;
	}

	public void setSports(List<String> sports) {
		this.sports = sports;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getStart_date() {
		return start_date;
	}

	public void setStart_date(String start_date) {
		this.start_date = start_date;
	}

	public String getEnd_date() {
		return end_date;
	}

	public void setEnd_date(String end_date) {
		this.end_date = end_date;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public List<JSON_sport_calification> getSports_level() {
		return sports_level;
	}

	public void setSports_level(List<JSON_sport_calification> sports_level) {
		this.sports_level = sports_level;
	}
	
	
}
